﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MES_workbench.Domian.Customers
{
    public class WorkReport
    {
        /// <summary>
        /// 主键ID（自增）
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 报工时间
        /// </summary>
        [SugarColumn(ColumnName = "ReportTime")]
        public DateTime ReportTime { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [SugarColumn(ColumnName = "ProductName")]
        public string ProductName { get; set; }

        /// <summary>
        /// 报工数量
        /// </summary>
        [SugarColumn(ColumnName = "ReportQuantity")]
        public int ReportQuantity { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        [SugarColumn(ColumnName = "QualifiedQuantity")]
        public int QualifiedQuantity { get; set; }
    }
}
